import Vue from 'vue'
Vue.filter('phonereg', (value, M) => {
    if (value) {
        let num = value + ""
        return num.replace(/(\d{3})\d{4}(\d{4})/, '$1****$2');
    }
})